home *** CD-ROM | disk | FTP | other *** search
/ Animation / Animation Vol.1 (Profi ROM)(1994).iso / pool / updates / symantec / rtlinc.exe / ASSERT.H < prev    next >
C/C++ Source or Header  |  1993-05-25  |  501b  |  28 lines

  1. /*_ assert.h   Fri May 12 1989   Modified by: Walter Bright */
  2.  
  3. #if __cplusplus
  4. extern "C" {
  5. #endif
  6.  
  7. #undef assert
  8.  
  9. #ifdef NDEBUG
  10.     #define assert(ignore)    ((void) 0)
  11. #else
  12.     #define assert(e)    ((void)((e) || (_assert(#e,__FILE__,__LINE__),1)))
  13.     extern void
  14.     #ifdef __STDC__
  15.     #elif __OS2__ && __INTSIZE == 4
  16.     __stdcall
  17.     #else
  18.     __cdecl
  19.     #endif
  20.         _assert(const char *,const char *,unsigned);
  21.     #pragma noreturn(_assert)
  22. #endif
  23.  
  24. #if __cplusplus
  25. }
  26. #endif
  27.  
  28.